//
//  PopupView.h
//  Dispatch
//
//  Created by hyeyeon on 14. 1. 13..
//  Copyright (c) 2014년 hyeyeon. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>

#import "PopupViewDelegate.h"


//#import "AppDelegate.h"

@class AppDelegate;
@interface PopupView : UIView
{
    AppDelegate *appDelegate;
    
    UIView *backgroundView;
    UIView *bodyView;
    UILabel *messageLabel;
    UIButton *firstButton;
    UIButton *secondButton;
}
@property (nonatomic, assign) id<PopupViewDelegate> delegate;
@property (nonatomic, assign) NSInteger tag;
+(PopupView*)getPopupViewWithDelegate:(id)_delegate;
-(void)appearMessage:(NSString*)message withFirstButton:(NSString*)first andSecondButton:(NSString*)second andTag:(NSInteger)tag;
@end
